from django.contrib import admin
from django.urls import include, path
urlpatterns = [
    path("admin/", admin.site.urls),
    path("helloworld/", include("helloworld_01.urls")),
    path("article02/", include("article02.urls")),
    path("blogdemo3/", include("blogdemo3.urls")),
    path("usecasedemo4/", include("usecasedemo4.urls")),#第四个案例,显示html上的文件
    path("casedemo5/", include("casedemo5.urls")),
            #   第五个案例,效仿java的业务模式,实际意义上没必要
            #   构建Django模型 https://blog.csdn.net/weixin_46329906/article/details/115419585
            #   进行了二次开发，参考链接如下所示:https://blog.csdn.net/weixin_46329906/article/details/116481230
            #   缓存和状态管理  https://blog.csdn.net/weixin_46329906/article/details/116638032
            #   实现用户登录和退出  https://blog.csdn.net/weixin_46329906/article/details/116653427
            #   实现单个用户的登录，不允许多个人进行登录
    # 做一个规定吧module开头表示一个可以复用模块
    # case开头表示一个案例
    # project开头表示一个项目
    path("casedemo6/", include("casedemo6_login.urls")),# Django视图创建登录界面
                                                        # https://blog.csdn.net/weixin_46329906/article/details/115420360
    path("casedemo7/", include("casedemo7_cache.urls")),# Django创建缓存
                                                        # https://blog.csdn.net/weixin_46329906/article/details/116638032
    path("blogdemo8/", include("blogdemo8.urls")),# Django创建会话
    path("casedemo9/", include("casedemo9_smscode.urls")),# 短信验证码的发送,这是一个配合前端vue3所实现的前端操作
    path("casedemo10/", include("casedemo10_drf.urls")),# Django创建drf 从此处开始都是DRF
    path("casedemo11/", include("casedemo11_APIView.urls")),# Django创建drf_apiview
    path("casedemo12/", include("casedemo12_view.urls")),# Django创建drf_genericview
    path("casedemo13/", include("casedemo13_ser.urls")),# Django创建drf_serializer
    path("casedemo14/", include("casedemo14_userSer.urls")),# 序列化实例展示
    path("casedemo15/", include("casedemo15_authpremiss.urls")),# 权限验证实例展示
]
